<?php

namespace app\common\model;

use app\common\model\TimeModel;

class Config extends TimeModel
{

    protected $name = "config";

    protected $deleteTime = false;
    protected $defaultSoftDelete = 0;

    public static function getSelfConfig($name)
    {
        return self::where('name',$name)->value('value');
    }


}